home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 010 / mastrkey.arc / MASTRKEY.DOC next >
Encoding:
Text File  |  1986-09-06  |  61.3 KB  |  1,710 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                       
  18.                       -------------------------------------
  19.                       Master Key -- Disk Management Utility
  20.                             User's Guide To Operation
  21.                                    Version 1.5
  22.                       -------------------------------------
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.                                R. P. Gage
  47.                                1125 6th St. N. #43
  48.                                Columbus, MS  39701
  49.  
  50.                                 September 6, 1986
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.             Copyright (c) 1986 by R. P. Gage, all rights reserved.
  63.  
  64.  
  65.  
  66.                             Master Key -- Version 1.5
  67.  
  68.  
  69.              Copyright (c) 1986 by R. P. Gage, all rights reserved.
  70.  
  71.  
  72.              Unmodified  copies of the Master Key program and  documenta-
  73.         tion  files may be made for your own use,  to give without charge 
  74.         to others, or to distribute within a user group.  User groups may 
  75.         charge  a fee up to $7.50 (for duplication costs)  to  distribute 
  76.         Master Key; all other organizations may not charge a fee.
  77.  
  78.              Master  Key is supported by the users that find  it  produc-
  79.         tive.   If you have benefited in some way from Master Key or make 
  80.         regular use of it, please license your copy for $20.00.  Licensed 
  81.         users  will be given a program disk containing a legitimate  copy 
  82.         of  the  Master  Key program and documentation and  will  receive 
  83.         published announcements of future releases of Master Key.
  84.  
  85.              The  license fee is not an optional matter if Master Key  is 
  86.         used in a commercial environment,  and must be paid for each copy 
  87.         of Master Key maintained.
  88.  
  89.  
  90.              Disclaimer of Warranties and Limitation of Liabilities
  91.  
  92.              Both Master Key and this documentation are distributed with-
  93.         out  any express or implied warranties.   No warranty of  fitness 
  94.         for a particular purpose is offered.   You, the user, are advised 
  95.         to  experiment and become familiar with Master Key before relying 
  96.         on it.   You assume all risk for the use and operation of  Master 
  97.         Key,  and you shall be responsible for any loss of profits,  loss 
  98.         of savings,  or other incidental or consequential damages arising 
  99.         out of the use or failure to use Master Key,  even if I have been 
  100.         advised  of  the possibility of such damages.   I do not  warrant 
  101.         that this documentation is accurate,  or that Master Key operates 
  102.         as I have claimed or as I have designed it to operate.  
  103.  
  104.              By using Master Key, you agree to the above limitations.
  105.  
  106.  
  107.              IBM  and PC-DOS are registered trademarks  of  International 
  108.         Business Machines Corporation.
  109.  
  110.              MS-DOS is a trademark of Microsoft Corporation.
  111.  
  112.              TURBO Pascal is a trademark of Borland International, Inc.
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                 Table Of Contents
  128.  
  129.                                                                     Page
  130.  
  131.              What is Master Key, and What Can It Do? ................  1
  132.  
  133.              System Requirements for Master Key .....................  2
  134.  
  135.              Conventions Used .......................................  3
  136.              
  137.              Starting Master Key ....................................  4
  138.  
  139.              Selecting a File .......................................  6
  140.  
  141.              ALTER     Modify the attributes of files ...............  7
  142.  
  143.              CHANGE    Change the current working drive .............  8
  144.  
  145.              DISK      View and/or edit the current drive ...........  9
  146.  
  147.              ERASE     Erase files on the current drive ............. 12
  148.  
  149.              FILE      View and/or edit a file on the drive ......... 13
  150.  
  151.              INFO      Show information on the current drive ........ 14
  152.  
  153.              LOCATE    Look for matching files on the drive ......... 15
  154.  
  155.              RENAME    Rename files on the current drive ............ 16
  156.  
  157.              UNERASE   Unerase files on the current drive ........... 17
  158.  
  159.              QUIT      End Master Key and return to DOS ............. 19
  160.  
  161.              Appendix A     Error Messages .......................... 20
  162.  
  163.              Appendix B     Program Notes ........................... 24
  164.              
  165.              Appendix C     WARNING ! ............................... 25
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.                      What is Master Key, and What Can It Do?
  189.  
  190.  
  191.              Master  Key is a utility that gives you full access to  your 
  192.         MS-DOS  disks.   It is a collection of features bundled into  one 
  193.         easy to use program.   It is a disk editor, a file editor, a file 
  194.         manipulator,  and  more.   It gives you the ability to work  with 
  195.         individual  files  or  the disk as a whole and lets  you  perform 
  196.         operations that DOS usually isn't able to provide.  Generally, it 
  197.         lets you manipulate everything on your disks easily and with very 
  198.         few restrictions.
  199.  
  200.              The current version of Master Key, version 1.5, provides the 
  201.         following functions:
  202.  
  203.              --   access any MS-DOS disk available:  any size floppy, any 
  204.                   size  hard disk (up to 32MB),  and any sized RAM  disk; 
  205.                   all  with any allowable sector size (128,  256,  or 512 
  206.                   bytes).  
  207.  
  208.              --   edit the disk,  on a sector basis, allowing full access 
  209.                   in  a  sequential  or random manner  to  any  available 
  210.                   sector on the disk.   The sector number being edited is 
  211.                   displayed at all times.
  212.  
  213.              --   edit any file or sub-directory on the disk, on a sector 
  214.                   basis,  allowing full access in a sequential or  random 
  215.                   manner to any sector in the file or sub-directory.  The 
  216.                   relative sector number within the file or sub-directory 
  217.                   is displayed at all times. 
  218.  
  219.              --   change  all  of  the attributes for any  file  or  sub-
  220.                   directory  on  the disk.   This includes  R/O,  Hidden, 
  221.                   System  and Archive status as well as the date and time 
  222.                   of creation.
  223.  
  224.              --   find any file or sub-directory on the disk matching  an 
  225.                   ambiguous  or  unambiguous  file  specification.   (ie. 
  226.                   *.BAT or WS.COM).
  227.  
  228.              --   rename any file or sub-directory on the disk.
  229.  
  230.              --   erase any file on the disk.
  231.  
  232.              --   unerase  any file or sub-directory on the disk that  is 
  233.                   able to be unerased.
  234.  
  235.              --   all  file operations allow full access to ANY  file  or 
  236.                   sub-directory  in ANY sub-directory.   The status of  a 
  237.                   file or sub-directory is irrelevant.
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.         Master Key -- Disk Management Utility, version 1.5        Page 1
  246.  
  247.  
  248.  
  249.                         System Requirements for Master Key
  250.  
  251.  
  252.              To  run,  Master  Key  requires  an  IBM  PC/XT/AT  or  true 
  253.         compatible  computer  running under MS-DOS version 2.0  or  later 
  254.         with  at  least  128K memory,  a monitor using  a  Monochrome  or 
  255.         Color/Graphics display card,  and,  at a minimum, one floppy disk 
  256.         drive.
  257.  
  258.              In addition,  Master Key will make use of more memory (if it 
  259.         needs it) and more disk drives (360K or 1.2MB floppy drives, hard 
  260.         disks,  or RAM disks).  More memory will usually only be required 
  261.         if  you are using Master Key with a hard disk that contains  many 
  262.         files and sub-directories.
  263.  
  264.              Currently, Master Key has successfully run under the TopView 
  265.         and  WINDOWS operating environments.   In both cases,  Master Key
  266.         runs  in  a separate window allowing its  simultaneous  use  with 
  267.         other programs.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.         Master Key -- Disk Management Utility, version 1.5        Page 2
  307.  
  308.  
  309.  
  310.                                 Conventions Used
  311.  
  312.  
  313.              The  conventions  used in this document refer mainly to  the 
  314.         description  of  function  keys.   Each  function  key,  wherever 
  315.         possible,  is described by the word or lettering that appears  on 
  316.         the key.  Where this is not possible, the key is described by its 
  317.         function and is surrounded in brackets.  
  318.  
  319.              The names I use for these keys and their descriptions are:
  320.  
  321.              End            the End key (key 1) on the numeric keyboard
  322.              Enter          the enter or return key
  323.              Esc            the escape key (wherever it is located)
  324.              F1             function key one
  325.              F2             function key two
  326.              F3             function key three
  327.              F4             function key four
  328.              F5             function key five
  329.              F6             function key six
  330.              F7             function key seven
  331.              F8             function key eight
  332.              F9             function key nine
  333.              F10            function key ten
  334.              Home           the Home key (key 7) on the numeric keyboard
  335.              Ins            the Ins (key 0) on the numeric keyboard
  336.              PgDn           the PgDn key (key 3) on the numeric keyboard
  337.              PgUp           the PgUp key (key 9) on the numeric keyboard
  338.              Tab            the tab key
  339.              <DOWN>         the down arrow key on the numeric keyboard
  340.              <LEFT>         the left arrow key on the numeric keyboard
  341.              <RIGHT>        the right arrow key on the numeric keyboard
  342.              <UP>           the up arrow key on the numeric keyboard
  343.  
  344.              Additionally,  the program itself uses brackets around a key 
  345.         name  whenever it tells you to press a key.   An example of  this 
  346.         exists in the main menu where,  in part, a line states, "... then 
  347.         pressing <ENTER>."  This wording,  where used, means to press the 
  348.         enter key and not the letters <,  E,  N, T, E, R, and >.  The Esc 
  349.         key  and Ins key are also referred to in the program in this  way 
  350.         (ie., as <ESC> and <INS>). 
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.         Master Key -- Disk Management Utility, version 1.5        Page 3
  368.  
  369.  
  370.  
  371.                                Starting Master Key
  372.  
  373.              
  374.              Before running Master Key for the first time, make a working 
  375.         copy of the distribution disk.   To do this, copy the contents of 
  376.         the  program disk to another floppy or to a sub-directory on your 
  377.         hard disk.   When this is done,  put the program disk in a secure 
  378.         place or copy it again to share with others.
  379.           
  380.              Master Key is started by typing "MK" from the MS-DOS prompt.  
  381.         Doing so loads and runs Master Key without problem,  but the com-
  382.         plete invocation for Master Key from the prompt is:
  383.  
  384.              MK [ /DC] [ /DM] [ /DS] [ /DF] [d:]
  385.  
  386.              Each of the options, briefly described below, exist to force 
  387.         Master  Key to ignore what it has found out about  your  computer 
  388.         and accept what you really want.   All of the functions must have 
  389.         a  space  in  front of the "/",  but the case and  order  of  the 
  390.         options is not important.
  391.          
  392.                   /DC       Display Color.  Makes Master Key display in a 
  393.                             variety of colors, even if it has found a 
  394.                             monochrome adapter installed. 
  395.  
  396.                   /DM       Display Monochrome.  Causes Master Key to 
  397.                             display in two "colors".  Use this option 
  398.                             when using a graphics adapter with a 
  399.                             monochrome monitor.
  400.  
  401.                   /DS       Display Slow.  Forces Master Key to use DOS 
  402.                             to display on the screen.  If Master Key is 
  403.                             used in a windowing operating environment, 
  404.                             this option may be necessary for Master Key 
  405.                             to run in a window alongside other programs.
  406.  
  407.                   /DF       Display Fast.  Forces Master Key to use 
  408.                             direct memory writes to display on the 
  409.                             screen.  This is a lot faster than using DOS.
  410.  
  411.                   d:        Sets the current working drive to d:.  If d: 
  412.                             is not a valid drive letter, Master Key sets 
  413.                             the currently logged drive to the current 
  414.                             working drive.
  415.  
  416.  
  417.              Once  started,  the main menu is shown.   The information in 
  418.         the  main menu includes the name of the program (Master Key)  and 
  419.         version number (1.5), my copyright, MS-DOS version number, amount 
  420.         of  memory  available to DOS,  number of  drives,  logical  drive 
  421.         letters,  current working drive, my name and address, and finally 
  422.         the functions available.   If any of this information is  missing 
  423.         or  seems altered,  please inform me of that fact and immediately 
  424.         stop using that copy of of Master Key.
  425.  
  426.  
  427.  
  428.         Master Key -- Disk Management Utility, version 1.5        Page 4
  429.  
  430.  
  431.  
  432.              Currently, there are ten functions available from the main 
  433.         menu.  They are:
  434.  
  435.                   ALTER .... Modify the attributes of files. 
  436.                   CHANGE ... Change the current working drive.
  437.                   DISK ..... View and/or edit the current drive.
  438.                   ERASE .... Erase files on the current drive.
  439.                   FILE ..... View and/or edit a file on the drive.
  440.                   INFO ..... Show information on the current drive.
  441.                   LOCATE ... Look for matching files on the drive
  442.                   RENAME ... Rename files on the current drive.
  443.                   UNERASE .. Unerase files on the current drive.
  444.                   QUIT ..... End Master Key and return to DOS.
  445.  
  446.              These  functions are selected by moving the highlighted  bar 
  447.         with  <UP> and <DOWN> and pressing Enter when the bar  highlights 
  448.         the function you want to execute.   An alternative, easier method 
  449.         of  selecting  a  function is to type the  first  letter  of  the 
  450.         function name (A,  C,  D,  E, F, I, L, R, U, or Q) and then press 
  451.         Enter.
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.         Master Key -- Disk Management Utility, version 1.5        Page 5
  490.  
  491.  
  492.  
  493.                                 Selecting a File
  494.  
  495.  
  496.              Since a file must be selected for five of the ten functions, 
  497.         choosing  what  file  to work with is vital to using  Master  Key 
  498.         well.   Luckily,  choosing a file is very easy and almost doesn't 
  499.         need any description.
  500.  
  501.              Before beginning, however, there needs to be some clarifica-
  502.         tion on what the word "file" means.   A file, as viewed by Master 
  503.         Key,  is the name and its associated data,  just as you expect it 
  504.         to be.   However, a sub-directory is also a file, both to DOS and 
  505.         to  Master  Key and because of that,  whenever  the  word  "file" 
  506.         appears within this document,  it also refers to a sub-directory.  
  507.         The  reverse is not true however;  the word "sub-directory"  does 
  508.         not also refer to a file.   Files and sub-directories are treated 
  509.         as equals in functions that use files.  All file functions can be 
  510.         used  with  sub-directories  (with a  few  exceptions,  discussed 
  511.         later).  
  512.  
  513.              Once  you  have selected a function that works with  a  file 
  514.         (ALTER,  ERASE,  FILE,  RENAME, or UNERASE), Master Key checks to 
  515.         see  if the current working drive's directory has been read  into 
  516.         memory yet.   If it hasn't been read into memory, Master Key does 
  517.         so, displaying the following message in the center of the screen:
  518.  
  519.                         Reading Directory Information...
  520.  
  521.              Master Key is potentially a memory hog.   When a file has to 
  522.         be  accessed for any of these functions,  Master Key first  reads 
  523.         the  drive's  ENTIRE directory,  keeping ALL files and  ALL  sub-
  524.         directory names in memory.   Should Master Key run out of  memory 
  525.         while  reading the drive's directory,  it will abort.   Plain and 
  526.         simple.   Normally,  this won't be a problem to most people,  but 
  527.         refer to appendix A for help if you run out of memory space.
  528.  
  529.              Reading a drive's directory could be very quick or a  little 
  530.         slow  depending on how many files and sub-directories are on  the 
  531.         drive  and  how  quickly the drive operates.   In  any  case,  be 
  532.         patient and after a moment, Master Key will be done.  
  533.  
  534.              When  the  entire  directory is in  memory,  use  the  <UP>, 
  535.         <DOWN>,  PgUp,  PgDn,  Home, and End keys to move the highlighted 
  536.         cursor  to select the sub-directory you want to use to get  files 
  537.         from.   <UP>  and <DOWN> move the highlighted bar to the previous 
  538.         and next sub-directory,  respectively;  while PgUp and PgDn  move 
  539.         the  bar  up   and down to the previous and next screen  of  sub-
  540.         directories.  Finally, Home and End move the bar to the first and 
  541.         last sub-directory.  
  542.  
  543.              Press Enter to accept the highlighted sub-directory or press 
  544.         Esc to abort and go back to the main menu.  If you don't have any 
  545.         sub-directories,  selecting  a sub-directory will be skipped.
  546.  
  547.               Then,  select the file to work with in a similar manner.
  548.  
  549.  
  550.         Master Key -- Disk Management Utility, version 1.5        Page 6
  551.  
  552.  
  553.  
  554.                     ALTER     Modify the attributes of files 
  555.  
  556.  
  557.              Pressing Enter when the ALTER function is highlighted  gives 
  558.         you the ability to change the attributes,  date, and time for any 
  559.         file on the current working drive. 
  560.  
  561.              After within the ALTER function,  select the initial file to 
  562.         work with.  Once a file has been selected, you have the chance to 
  563.         change its attributes.  
  564.  
  565.              To change one of the attributes (Read Only,  Hidden, System, 
  566.         or  Archive),  move the highlighted bar with <UP> and <DOWN>  and 
  567.         press Enter to toggle the highlighted attribute on or off.   When 
  568.         an attribute is on, it is set or in an active state.
  569.  
  570.              Changing  the  time or date is a little different,  but  not 
  571.         enough  to make it difficult.   Once the highlighted bar is  over 
  572.         the date or time field, press any key to tell Master Key you want 
  573.         to change the contents of that field.
  574.  
  575.              Upon  pressing any key when the date or time field is  high-
  576.         lighted,  you  should notice the presence of a cursor within  the 
  577.         highlighted bar.   You can now type in the new date or time (only 
  578.         valid numbers are accepted),  and move the cursor to a  different 
  579.         place using <LEFT> and <RIGHT>.   Pressing <UP>, <DOWN>, or Enter 
  580.         ends your changes to the date or time.
  581.              
  582.              When  you are not actually editing the date or time  fields, 
  583.         pressing  <LEFT> or <RIGHT> changes the file you are working with 
  584.         to the previous or next file in the directory, respectively.  
  585.  
  586.              IF  the  file  is changed in this manner  (using  <LEFT>  or 
  587.         <RIGHT>),  any  changes  you made to the previous  file  ARE  NOT 
  588.         SAVED.   To save changes made to a file's attributes,  date,  and 
  589.         time, press the Ins key.  An easy way to tell if you have saved a 
  590.         file's  attributes is to compare the "Present Attributes"  column 
  591.         with the "New Attributes" column.   After pressing Ins,  they are 
  592.         identical.
  593.  
  594.              When  you have had enough of changing  attributes,  pressing 
  595.         Esc will let you leave the ALTER function.  After doing this, you 
  596.         are  presented the ever familiar main menu and can continue  from 
  597.         there as usual.
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.         Master Key -- Disk Management Utility, version 1.5        Page 7
  612.  
  613.  
  614.  
  615.                    CHANGE    Change the current working drive
  616.  
  617.  
  618.              Pressing Enter with the CHANGE function selected opens up  a 
  619.         window on the screen showing something similar to:
  620.  
  621.                           Enter a letter from A to E to
  622.                             change the current drive.
  623.                               Press <ESC> to abort
  624.  
  625.              To change the current working drive,  do as it says and type 
  626.         a letter in the range shown.  In this example, you could type any 
  627.         of the letters A, B, C, D, or E.  Pressing anything else will not 
  628.         be accepted.  
  629.  
  630.              Once you press one of the valid letters, all stored informa-
  631.         tion on the current working drive will be cleared, forcing Master 
  632.         Key to start from scratch on the next disk read.
  633.  
  634.              If you selected CHANGE by mistake,  you can abort the  func-
  635.         tion by pressing Esc.   Doing so will keep Master Key from clear-
  636.         ing all stored information on the current drive. 
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.         Master Key -- Disk Management Utility, version 1.5        Page 8
  673.  
  674.  
  675.  
  676.                   DISK      View and/or edit the current drive
  677.  
  678.  
  679.              For  those who have a need or want to see and change what is 
  680.         actually  stored  on  their disks,  at a  byte  level,  the  DISK 
  681.         function provides that capability.
  682.  
  683.              When DISK is highlighted, press Enter and Master Key will go 
  684.         to  the first sector on the disk in the current working drive and 
  685.         display it in both hexadecimal and ASCII coded formats.   If  you 
  686.         select  DISK after previously editing the  disk,  (ie,  selecting 
  687.         DISK  a second time on the same disk) Master Key will return  you 
  688.         to  the  previous sector you were editing,  instead of the  first 
  689.         sector on the disk.
  690.  
  691.              Once you begin editing the disk, a variety of function keys, 
  692.         arrow keys,  movement keys,  and others become effective.   These 
  693.         keys are all described below.  
  694.  
  695.              F1        Help.  Hitting F1 any time while editing the disk 
  696.                        will display a screen summarizing the functions of 
  697.                        specific keys.  Getting help will not cause any 
  698.                        changes previously made to the sector in memory to 
  699.                        be lost, so you can ask for help at any time 
  700.                        freely.
  701.  
  702.              F2        Go to a sector.  F2 gives you the ability to go 
  703.                        randomly to any allowable sector on the disk.  
  704.                        After you press F2, a window will be shown on the 
  705.                        screen.  Then, you can enter a number in the range 
  706.                        shown, or press Esc to abort that function and 
  707.                        remain at the sector you are currently at, keeping 
  708.                        all changes to the sector stored in memory.
  709.  
  710.              F3        Go to start of disk.  Anytime that F3 is pressed, 
  711.                        Master Key will immediately go to the first sector 
  712.                        of the disk, without question.
  713.  
  714.              F4        Go to end of disk.  Like F3, when F4 is pressed, 
  715.                        Master Key will go to the last available sector on 
  716.                        the disk.
  717.  
  718.              F5        Edit hex display.  Pressing F5 will cause the 
  719.                        blinking cursor to jump over to the hex side of 
  720.                        the display.  The cursor will stay at the same 
  721.                        point in the sector that it was at previously, it 
  722.                        will just go over to the hex side.
  723.  
  724.              F6        Edit ASCII display.  F6 will, similarly, cause the 
  725.                        cursor to jump over to the ASCII side of the 
  726.                        display, remaining at the same point within the 
  727.                        sector being edited. 
  728.  
  729.              F7        not used.
  730.  
  731.  
  732.  
  733.         Master Key -- Disk Management Utility, version 1.5        Page 9
  734.  
  735.  
  736.  
  737.              F8        not used.
  738.  
  739.              F9        Show disk info.  Pressing F9 will make Master Key 
  740.                        display a screen showing assorted technical 
  741.                        information on the current drive.  This includes 
  742.                        sector and cluster sizes, a few locations of key 
  743.                        areas on the drive, and file information if 
  744.                        available.  Getting information will not cause any 
  745.                        changes previously made to the sector in memory to 
  746.                        be lost, so you can ask for disk information to be 
  747.                        displayed at any time.
  748.  
  749.              F10       Press F10, and Master Key will bring you back to 
  750.                        the main menu, leaving DISK.  
  751.  
  752.              <UP>      Move up.  Pressing <UP>, the up arrow, will move 
  753.                        the cursor up one line within the sector.  If you 
  754.                        are at the first line, the cursor will wrap around 
  755.                        to the last line in the sector.
  756.  
  757.              <DOWN>    Move down.  <DOWN>, the down arrow, will move the 
  758.                        cursor down one line within the sector.  When the 
  759.                        cursor is at the last line, <DOWN> will cause the 
  760.                        cursor to wrap around to the first line.
  761.  
  762.              <RIGHT>   Move right.  Yes, <RIGHT>, the right arrow key, 
  763.                        will make the cursor move to the right.  When you 
  764.                        are at the last character (or byte) in a line, 
  765.                        <RIGHT> will move the cursor to the the first 
  766.                        character (or byte) in the next line.
  767.  
  768.              <LEFT>    Move left.  <LEFT>, the left arrow, will move the 
  769.                        cursor to the left.  When the cursor is at the 
  770.                        first character and <LEFT> is pressed, the cursor 
  771.                        will wrap around to the last character in the line 
  772.                        above the current line.
  773.  
  774.              PgUp      Go forwards.  Hitting PgUp will make Master Key 
  775.                        advance and display the next sector available on 
  776.                        the disk, making it the current sector being 
  777.                        edited.  If you are already at the last sector, 
  778.                        PgUp will wrap around to the first sector on the 
  779.                        disk.
  780.  
  781.              PgDn      Go backwards.  PgDn causes Master Key to go 
  782.                        backwards one sector, making the previous sector 
  783.                        on the disk the current sector being edited.  When 
  784.                        the current sector is the first sector, PgDn will 
  785.                        wrap around to the last sector on the disk.
  786.  
  787.              Home      Reread sector.  Pressing Home will cause Master 
  788.                        Key to reread the current sector into the sector 
  789.                        in memory.  There are two reasons why you might 
  790.                        want to do this.  The first is to try to reread a 
  791.                        sector when an error happened on the first try.  
  792.  
  793.  
  794.         Master Key -- Disk Management Utility, version 1.5        Page 10
  795.  
  796.  
  797.  
  798.                        The other reason is to get a fresh copy of the 
  799.                        sector into memory to edit, when you have made too 
  800.                        many unwanted changes to the sector in memory.  
  801.                        When Home is pressed, Master Key will clear 
  802.                        whatever changes you made and display a new 
  803.                        working copy of the current sector.
  804.  
  805.              End       Write sector.  End is the ONLY (repeat, ONLY) way 
  806.                        any changes made to the sector in memory will get 
  807.                        saved.  If you move to another sector and forget 
  808.                        to write it first, all changes made to the 
  809.                        previous sector will be lost.  Master Key doesn't 
  810.                        remind (harass) you about writing any changes.  If 
  811.                        you forget to write a sector, it won't be changed, 
  812.                        simply put.  
  813.  
  814.              At all times while editing,  the actual sector number  being 
  815.         edited  is  displayed  at the bottom of the  screen.   The  first 
  816.         sector  number  for a disk is always 1,  while  the  last  sector 
  817.         number  depends  on the format and capacity of the disk  you  are 
  818.         working with.
  819.  
  820.              Making  a change to any sector is relatively  easy.   First, 
  821.         locate or go to the sector you want to edit.   Move the cursor to 
  822.         the place you want to change something, then type in the changes.  
  823.         Changes  are discriminated from what was previously in the sector 
  824.         by being highlighted.  
  825.  
  826.              Any  character,  all 256 of them,  can be entered while  the 
  827.         cursor is in the ASCII part of the display,  but only valid hexa-
  828.         decimal characters can be entered while the cursor is on the  hex 
  829.         side  of  the display.   This causes an interesting  problem  for 
  830.         those  of  you who are used to making corrections with the  back-
  831.         space key.   That method of correcting errors (the backspace key) 
  832.         doesn't  work  with Master Key,  it is just accepted  as  another 
  833.         character  and processed as normal.   To make a  correction,  you 
  834.         have to move the cursor with <LEFT> and type in the correction.  
  835.  
  836.              Although  any character can be entered on the ASCII part  of 
  837.         the display,  only standard ASCII characters are displayed there.  
  838.         Any  other  character  besides  standard  ASCII  characters   are 
  839.         displayed as a period (".").
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.         Master Key -- Disk Management Utility, version 1.5        Page 11
  856.  
  857.  
  858.  
  859.                    ERASE     Erase files on the current drive
  860.  
  861.  
  862.              This  function  is  used to erase any file  on  the  current 
  863.         working  drive.   Since  Master  Key doesn't use  the  DOS  erase 
  864.         function  to erase files,  you can erase any file,  even if it is 
  865.         supposed to be read only or hidden.  The particular status of any 
  866.         file doesn't make any difference, however, this version of Master 
  867.         Key doesn't allow sub-directories to be erased.
  868.  
  869.              After you have selected ERASE,  choose the sub-directory  to 
  870.         get files from then the initial file to erase.   Press Esc if you 
  871.         want to abort and go back to the main menu.
  872.  
  873.              When a file is selected,  the screen clears and you will see 
  874.         something similar to what is shown below.
  875.  
  876.                     The file, "OLD-FILE.NAM" will be deleted.
  877.                       Press 'Y' to delete the file.
  878.                       Press 'S' to skip deleting this file.
  879.                       Press <ESC> to abort and exit.
  880.  
  881.              If  you now press 'Y',  the file OLD-FILE.NAM will be erased 
  882.         from  the disk.   Pressing 'S' (or 'N') will not erase the  file.  
  883.         Hitting Esc will put you back at the main menu.
  884.  
  885.              Upon pressing 'Y' or 'S',  Master Key does its work and then 
  886.         returns you to the file selection screen for the chance to select 
  887.         another file to erase.  It will repeat doing this until there are 
  888.         no files left in the directory or you eventually press Esc.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.         Master Key -- Disk Management Utility, version 1.5        Page 12
  917.  
  918.  
  919.  
  920.                  FILE      View and/or edit a file on the drive
  921.  
  922.  
  923.              The FILE function is almost identical to the DISK  function.  
  924.         The main difference is that FILE gives you the ability to see and 
  925.         edit only what is in a file and not the entire disk.
  926.  
  927.              Press Enter when FILE is highlighted,  select the  directory 
  928.         to get files from and then get the initial file to  edit.   Press 
  929.         Esc to return to the main menu. 
  930.  
  931.              After  a file is selected,  you will be looking at the first 
  932.         sector in the file,  ready to edit it.   All function keys, arrow 
  933.         keys,  movement keys, and other keys act the same way as they did 
  934.         in the DISK functions,  with a few minor  differences,  described 
  935.         briefly  below.   Except for what is described below,  you should 
  936.         read and follow what is said in the description for DISK.
  937.  
  938.              F2        Go to a sector.  Pressing the F2 key will still 
  939.                        let you go randomly to any sector, but only to 
  940.                        sectors within the file.  You cannot edit any 
  941.                        sector outside of the current file.
  942.  
  943.              F3        Go to start of file.  F3 will go to the start 
  944.                        (first sector) of the file instead of the first 
  945.                        sector on the disk.
  946.  
  947.              F4        Go to end of file.  Similar to F3, F4 goes to the 
  948.                        end of the file (its last sector) instead of the 
  949.                        end of the disk.
  950.  
  951.              PgUp      Go forwards.  Pressing PgUp will advance the 
  952.                        relative sector to the next sector in the file.  
  953.                        It won't wrap around to the first sector if you 
  954.                        are at the last sector in the file, but will 
  955.                        remain at the last sector.
  956.  
  957.              PgDn      Go backwards.  PgDn will go backwards in the file 
  958.                        to the previous sector in it.  If you are already 
  959.                        at the first sector in the file, hitting PgDn will 
  960.                        not wrap around to the last sector, but will 
  961.                        leave you at the first sector.
  962.  
  963.              At all times while editing, the relative sector number being 
  964.         edited  will be displayed,  not the actual  sector  number.   The 
  965.         first  relative sector number for a file is always 1,  no  matter 
  966.         where the start of the file physically is.
  967.  
  968.              Like in DISK, pressing F10 will return you to the main menu.
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.         Master Key -- Disk Management Utility, version 1.5        Page 13
  978.  
  979.  
  980.  
  981.                  INFO      Show information on the current drive
  982.  
  983.  
  984.              DOS  hides most information that it has on available on  the 
  985.         current working drive.   Pressing Enter while INFO is highlighted 
  986.         will  display  much  of this information along  with  some  other 
  987.         information that is both useful and good to know.
  988.  
  989.              When  INFO  is selected,  the left part of the  screen  will 
  990.         clear  and  the following information  will  be  displayed.   The 
  991.         numbers  will differ depending on the format and size of the disk 
  992.         being used.  This example is on a standard 360K floppy.
  993.  
  994.              Current drive A:
  995.                   360  Kilobytes disk capacity (possible)
  996.                   512  bytes in each sector
  997.                   720  total sectors on the disk
  998.                     2  sectors in each cluster
  999.                   354  total clusters on the disk
  1000.                     1  Reserved sector(s)
  1001.                     2  FAT copies; each using 2 sectors
  1002.                   112  files allowed in the root directory
  1003.  
  1004.                Volume  [no label]
  1005.                     2  total directories on the disk
  1006.                    19  total files on the disk
  1007.  
  1008.              Start of Reserved sector(s):  sector     0
  1009.              Start of all FAT copies:      sector     1
  1010.              Start of the root directory:  sector     5
  1011.              Start of all data sectors:    sector    12
  1012.  
  1013.  
  1014.              The information on volume name,  directories, and files will 
  1015.         be displayed only after the drive's directory has been read  into 
  1016.         memory.
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.         Master Key -- Disk Management Utility, version 1.5        Page 14
  1039.  
  1040.  
  1041.  
  1042.                  LOCATE     Look for matching files on the drive
  1043.  
  1044.  
  1045.              All  to often,  users of hard disks have several copies of a 
  1046.         file in different places,  don't know where a file is located, or 
  1047.         just want to look at all files on the disk.   The LOCATE function 
  1048.         helps out those users by finding and displaying all files on  the 
  1049.         current drive that match any given specification.
  1050.  
  1051.              When  LOCATE is chosen,  the screen clears,  displays a  few 
  1052.         lines of help, and gives you the prompt:
  1053.              
  1054.                               Filename:  *       .*
  1055.  
  1056.              Now,  enter the file(s) you want to look for.  The wildcards 
  1057.         ?  and  * can be used as they would be with DOS,  anywhere within 
  1058.         the  name  to match any character and all  characters  from  that 
  1059.         point on,  respectively.   <LEFT> and <RIGHT> can be used to move 
  1060.         the  cursor to a specific place in the name,  and changes made at 
  1061.         that place.   Additionally,  pressing Tab will make the cursor go 
  1062.         from the filename part to the extension part of the name and vice 
  1063.         versa.   When the file to look for has been entered, press Enter.  
  1064.         Hitting Esc returns you to the main menu. 
  1065.  
  1066.              After Enter has been pressed,  Master Key displays all files 
  1067.         matching  what  was typed (reading the directory  if  necessary), 
  1068.         pausing  at  the end of every screenfull of files.   Note that  I 
  1069.         said ALL files matching what was typed.   Master Key will display 
  1070.         a file even if it has a hidden or system status. 
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.         Master Key -- Disk Management Utility, version 1.5        Page 15
  1100.  
  1101.  
  1102.  
  1103.                   RENAME     Rename files on the current drive 
  1104.  
  1105.  
  1106.              The  RENAME  function  is used to rename  any  file  on  the 
  1107.         current  working drive.   Because Master Key goes around the  DOS 
  1108.         rename function  to rename files,  you can rename any file,  even 
  1109.         if  it  has a hidden or system status.   The status of  any  file 
  1110.         isn't important to Master Key.  The difference between the RENAME 
  1111.         function  and  the DOS rename is that RENAME can only rename  one 
  1112.         file at a time and cannot be used with wildcards.
  1113.  
  1114.              Once  RENAME  is active,  select the directory to get  files 
  1115.         from and then a file to rename.   Press Esc if you decide at some 
  1116.         point that you don't want to rename files and you'll be  returned 
  1117.         to the main menu.
  1118.  
  1119.              After  you  selected a file,  the screen will clear and  you 
  1120.         will be asked for the new name for the file.   If you were trying 
  1121.         to rename "OLD-FILE.NAM," the screen would show, (in part): 
  1122.  
  1123.                              Filename:  OLD-FILE.NAM
  1124.  
  1125.              Now,  enter the new name for the file,  typing over the  old 
  1126.         name.   <LEFT>  and <RIGHT> can be used to move the cursor to any 
  1127.         point in the old name to make changes.   Tab will move the cursor 
  1128.         from  the  name part to the extension part of the name  and  vice 
  1129.         versa.   When you have changed the name to what you desire, press 
  1130.         Enter and you will see:
  1131.  
  1132.            The file, "OLD-FILE.NAM" will be renamed to "NEW-FILE.NAM"
  1133.                       Press 'Y' to rename the file.
  1134.                       Press 'R' to re-enter the new file name.
  1135.                       Press 'S' to skip renaming this file.
  1136.                       Press <ESC> to abort and exit.
  1137.  
  1138.              Pressing  'Y' at this point will rename the file to the  new 
  1139.         name you typed in.   If you pressed 'S' (or 'N'),  the file won't 
  1140.         be  erased  and  you will be allowed to select  another  file  to 
  1141.         rename.   'R'  will show you the "Filename:" prompt shown  above, 
  1142.         letting you change the name again and try again.  Hitting Esc, as 
  1143.         usual, will bring you back to the main menu.
  1144.  
  1145.              Before  going off,  confident about RENAME,  there are a few 
  1146.         notes to it.  First, the new name must be typed in exactly as you 
  1147.         want  to see it appear in the directory.   You may have  to  type 
  1148.         over previous characters with spaces if necessary.   Also, if you 
  1149.         leave  leading  or embedded spaces in the filename  or  extension 
  1150.         part  of the name,  DOS will have a difficult time accessing  the 
  1151.         file from that point on.  It can still be used in a few instances 
  1152.         from  DOS (and always from Master Key),  but a little trickery is 
  1153.         involved.   Doing  this (leaving embedded spaces in the name)  is 
  1154.         permitted  in  Master Key because you might want to make  a  file 
  1155.         harder to access.   Embedding spaces in a name is definitely  one 
  1156.         way to make a file harder to access. 
  1157.  
  1158.  
  1159.  
  1160.         Master Key -- Disk Management Utility, version 1.5        Page 16
  1161.  
  1162.  
  1163.  
  1164.                   UNERASE   Unerase files on the current drive
  1165.  
  1166.  
  1167.              Well, you've gone off and erased a file by mistake, and it's 
  1168.         an important file.   Before using Master Key,  you would have  to 
  1169.         try to re-create the file if possible.   Now, you can recover the 
  1170.         file with a minimum of effort and continue as normal.
  1171.  
  1172.              After you have selected UNERASE, choose the sub-directory to 
  1173.         get  erased files from then the initial file to  unerase.   Press 
  1174.         Esc if you want to abort and go back to the main menu.
  1175.  
  1176.              When a file is selected,  the screen clears and you will see 
  1177.         something similar to what is shown below.
  1178.  
  1179.         Enter the first letter for "?LD-FILE.NAM" to begin unerasing it.
  1180.          
  1181.              When  a  file is erased,  one of the parts of it  that  gets 
  1182.         changed  is  its first character.   To unerase it,  you  have  to 
  1183.         supply the first character in the name.
  1184.  
  1185.             Once  the  first  letter in the file name  is  entered,  the 
  1186.         following messages will display:
  1187.  
  1188.                     The file, "OLD-FILE.NAM" will be unerased.
  1189.                       Press 'Y' to unerase the file.
  1190.                       Press 'S' to skip unerasing this file.
  1191.                       Press <ESC> to abort and exit.
  1192.  
  1193.              If you now press 'Y', Master Key will attempt to unerase the 
  1194.         file  OLD-FILE.NAM.   Pressing 'S' (or 'N') will not unerase  the 
  1195.         file.  Hitting Esc will put you back at the main menu.
  1196.  
  1197.              Successfully  unerasing a file depends on a lot  of  factors 
  1198.         and  is  not  guaranteed to be always successful.  Two  of  these 
  1199.         factors, described below, can be a big help or big hindrance when 
  1200.         Master Key tries to unerase a file.
  1201.  
  1202.              Time.     Generally, the sooner you attempt to unerase a 
  1203.                        file the better.  If nothing has been written to 
  1204.                        the disk since the erased file has been erased, 
  1205.                        there is a good chance that it can be unerased.  
  1206.                        However, if some time has passed and you have 
  1207.                        saved a few files to the disk in the mean time, it 
  1208.                        may be unlikely that an erased file can be fully 
  1209.                        recovered.
  1210.  
  1211.              Fragmentation. Chances for successful unerasure are also 
  1212.                        increased if the file wasn't in a fragmented state 
  1213.                        before it was erased.  A file is fragmented if its 
  1214.                        clusters aren't stored consecutively on the disk.  
  1215.                        Fragmentation usually only happens in large files 
  1216.                        that get updated often (like databases).  I 
  1217.                        recommend that a preventative precaution be taken:  
  1218.                        unfragment your entire disk (especially hard 
  1219.  
  1220.  
  1221.         Master Key -- Disk Management Utility, version 1.5        Page 17
  1222.  
  1223.  
  1224.  
  1225.                        disks!) on a regular basis with either of the many 
  1226.                        commercial or public domain programs that claim to
  1227.                        unfragment disks.   
  1228.              
  1229.              If Master Key is successful in unerasing a file,  all  still 
  1230.         may  not  be well -- the data it has saved may not  be  what  was 
  1231.         originally  in your file.   Please check over your file (possibly 
  1232.         by  using  the FILE function) to make sure that it  contains  the 
  1233.         right data.  Be especially careful if the unerased file is a .COM 
  1234.         or .EXE file. 
  1235.  
  1236.              Master  Key,  unlike  several  other programs  that  unerase 
  1237.         files,  can unerase sub-directories.   It does have a  limitation 
  1238.         however.   Because  sub-directories do not have a size stored  as 
  1239.         part  of  its information,  Master Key has no way of knowing  how 
  1240.         many  clusters it used to contain.   Whenever a sub-directory  is 
  1241.         unerased,  only its first cluster is unerased and any  subsequent 
  1242.         clusters, if they existed, are forever lost.  
  1243.  
  1244.              Going back to the program, after pressing 'Y' or 'S', Master 
  1245.         Key  does  its  work and then returns you to the  file  selection 
  1246.         screen for the chance to select another file to unerase.  It will 
  1247.         repeat  doing  this until there are no erased files left  in  the 
  1248.         sub-directory or you eventually press Esc.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.         Master Key -- Disk Management Utility, version 1.5        Page 18
  1283.  
  1284.  
  1285.  
  1286.                     QUIT     End Master Key and return to DOS
  1287.  
  1288.  
  1289.              Selecting  QUIT  from the main menu stops the  execution  of 
  1290.         Master Key and return you to DOS (or other operating environment, 
  1291.         if applicable).   It returns to the same drive and directory that 
  1292.         you  started in,  unless of course you changed the disk that  you 
  1293.         started from.
  1294.  
  1295.              QUIT  has a synonym that can be used if you like.   Pressing 
  1296.         Esc while in the main menu also quits the program after confirma-
  1297.         tion.   This is no shorter than pressing "Q <ENTER>",  but it  is 
  1298.         included  to  be consistent with the exit command of  other  fun-
  1299.         ctions.  When you press Esc, you'll see the message:
  1300.  
  1301.                    Do you really want to exit Master Key? (Y/N)
  1302.  
  1303.              If  you enter anything other than 'Y',  Master Key continues 
  1304.         to  run as if nothing happened,  waiting patiently for your  next 
  1305.         command.
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.         Master Key -- Disk Management Utility, version 1.5        Page 19
  1344.  
  1345.  
  1346.  
  1347.                                    Appendix A
  1348.  
  1349.                                  Error Messages
  1350.  
  1351.  
  1352.              This  appendix  contains a list of the  error  messages  you 
  1353.         might  encounter while running Master Key and brief  descriptions 
  1354.         of  what they mean.   The types of error messages are broken down 
  1355.         into three categories:   program errors,  disk errors,  and  your 
  1356.         errors.
  1357.  
  1358.              Program errors deal with something going wrong within Master 
  1359.         Key,  or  something  happening that it couldn't deal  with.   All 
  1360.         program  errors result in the screen being cleared and a  message 
  1361.         displayed  at the top of the screen stating that  something  went 
  1362.         wrong.  
  1363.  
  1364.              The most common (and hopefully only) program error  concerns 
  1365.         running out of memory.  If Master Key isn't able to read a disk's 
  1366.         entire  directory  into memory,  it displays the following  error 
  1367.         message at the top of the screen:
  1368.  
  1369.                     Master Key, version 1.5 is out of memory.  
  1370.  
  1371.              There are several solutions to this error.   First,  if  you 
  1372.         don't have a full 640K of memory installed in your computer,  the 
  1373.         easiest  remedy is to purchase and install more memory.   If more 
  1374.         memory  is  not a solution for you (you already  have  640K,  you 
  1375.         don't have enough $,  etc.),  removing a few memory resident pro-
  1376.         grams,  rebooting,  and trying again is an alternative.  Finally, 
  1377.         if  you are running in a  multi-tasking  environment,  allocating 
  1378.         more  minimum memory to Master Key in its .PIF file or equivalent 
  1379.         should help out.
  1380.  
  1381.              In  all  reality,  most users will never run out of  memory.  
  1382.         Never.   Those few who have thousands of files on a hard disk are 
  1383.         the ones that may encounter a problem.
  1384.  
  1385.              The next and only other program error message is a catch all 
  1386.         for  anything unexpected going wrong.   When Master Key  stumbles 
  1387.         somewhere, it shows the following error message:
  1388.  
  1389.                           Oops, an unexpected error ...
  1390.  
  1391.              This  is  only the beginning of  the  error  message.   What 
  1392.         follows  is the error number,  the location in the program  where 
  1393.         the  problem happened,  and if possible a general description  of 
  1394.         the error.   If you ever get this error, please write down every-
  1395.         thing  that Master Key prints out and inform me of it.   In doing 
  1396.         so,  please  try to include as much information on what you  were 
  1397.         doing when the error happened.   It will help me to rid the  pro-
  1398.         gram of the error.
  1399.  
  1400.              Program  errors  take  the easy  out  -- they  abort.   Disk 
  1401.         errors,  on the other hand will cause Master Key to open a window 
  1402.  
  1403.  
  1404.         Master Key -- Disk Management Utility, version 1.5        Page 20
  1405.  
  1406.  
  1407.  
  1408.         on the screen and if possible,  continue where it can.  If a disk 
  1409.         error occurs while Master Key is reading a directory,  Master Key 
  1410.         exits whatever function you were trying to execute and returns to 
  1411.         the main menu.   Disk errors that occur elsewhere leave you where 
  1412.         you  were  in the appropriate function when the  error  happened, 
  1413.         possibly not reading or writing to the disk as you wanted to.
  1414.  
  1415.              All  disk errors dealing with the disk itself start with the 
  1416.         following message appearing as the first line in a window  opened 
  1417.         in the middle of the screen.
  1418.  
  1419.                                  > Disk Error! <
  1420.  
  1421.              Following  that line is one of the following error  messages 
  1422.         describing what went wrong:
  1423.  
  1424.                          A general disk error happened.   
  1425.                             Error during a disk read.      
  1426.                            Error during a disk write.     
  1427.                         Bad sector -- not found on disk.  
  1428.                               Unknown disk format.         
  1429.                              Error during disk seek.       
  1430.                          CRC error -- bad parity check.   
  1431.                         Disk not ready (door open, etc).  
  1432.                               Invalid drive number.        
  1433.                           The disk is write protected.     
  1434.                                   Bad Request.            
  1435.  
  1436.              To avoid going into a lengthy description on what each error 
  1437.         message means, I'll describe a few more common types of errors.  
  1438.  
  1439.              Hard  disks and many "copy protected" floppy disks  commonly 
  1440.         have  a  few "bad" sectors.   If you run across one of these  bad 
  1441.         sectors while using the DISK function,  Master Key tells you  so, 
  1442.         but it is no cause for concern.  If you come across an error when 
  1443.         editing a file using FILE,  there is a lot of reason for concern.  
  1444.         It  would be much to your advantage to try to make a copy of that 
  1445.         file as soon as possible,  even though it may be too late to save 
  1446.         the entire file.
  1447.  
  1448.              The  next most common problem is running Master Key on  non-
  1449.         DOS  disks.   Remember that Master Key is intended for  use  with 
  1450.         ONLY DOS DISKS.   Yes,  this means that you won't be able to look 
  1451.         at  what's  on disks from other operating systems nor  a  lot  of 
  1452.         game disks that have to be booted in drive A: to work.
  1453.  
  1454.              As  with everything however,  there is an exception to this.  
  1455.         I  briefly  tried  one disk emulation program  that  worked  well 
  1456.         enough  on  a non-DOS disk to allow me to use several  of  Master 
  1457.         Key's  functions on it without a problem.   I suggest only  using 
  1458.         the functions DISK and FILE if you do this though.  I am not sure 
  1459.         that the other functions would operate as intended.
  1460.  
  1461.              Also,  remember  that  Master Key can't access a  disk  that 
  1462.         doesn't  exist.   Users  with two floppy disk drives and  no  RAM 
  1463.  
  1464.  
  1465.         Master Key -- Disk Management Utility, version 1.5        Page 21
  1466.  
  1467.  
  1468.  
  1469.         disks won't be able to access drives C,  D,  and E no matter  how 
  1470.         much they try.  Master Key reports a variety of errors if you try 
  1471.         to access a non-existent drive.
  1472.  
  1473.              The  next  type of disk error shows up a lot when  accessing 
  1474.         damaged and non-DOS disks.   If Master Key finds that the FAT  id 
  1475.         byte  isn't  one of the several valid ones when trying to read  a 
  1476.         directory, it shows the following message in a window:
  1477.  
  1478.                          The disk ID byte appears to be
  1479.                                 damaged or wrong.
  1480.  
  1481.              If  you know the disk was damaged,  what the id byte  should 
  1482.         be,  and the correct location to put it,  you can try to edit the 
  1483.         disk  using  the DISK function and make an attempt to reread  the 
  1484.         directory.  
  1485.  
  1486.              Following the errors dealing with Master Key itself and your 
  1487.         disks  are the errors due to your actions or due to a conflict or 
  1488.         impossibility  somewhere.   
  1489.  
  1490.              These messages are more informative than anything else,  and 
  1491.         no  changes will be written to the current disk when you see  one 
  1492.         of these messages.  
  1493.  
  1494.              The following error message can happen in the ALTER,  ERASE, 
  1495.         and  RENAME  functions.   Before Master Key changes  a  directory 
  1496.         entry for a file,  it checks to make sure that the file is in the 
  1497.         place it expects it to be.   If you see the error message, Master 
  1498.         Key  couldn't  find the file in the place it thought it  was  in.  
  1499.         This  basically means,  as the message states,  that you probably 
  1500.         changed  disks somewhere along the line and forgot to CHANGE  the 
  1501.         current drive letting Master Key know you did this.
  1502.  
  1503.                         File "OLD-FILE.NAM" was not found
  1504.                          You might have switched disks.
  1505.  
  1506.              Note  that  the word OLD-FILE.NAM refers to a file  on  your 
  1507.         disk,  while  the words NEW-FILE.NAM and NEW-FIL?.* refer to  new 
  1508.         file name that you typed in in response to a prompt.
  1509.  
  1510.              In the ERASE function,  you might see the following  message 
  1511.         if  you try to erase a sub-directory.   In this version of Master 
  1512.         Key, erasing a sub-directory is not allowed.
  1513.  
  1514.                          Master Key isn't able to erase
  1515.                           sub-directories at this time.
  1516.  
  1517.              The  next two error messages appear exclusively when you are 
  1518.         in the RENAME function.   The first, below, is shown when you try 
  1519.         to  rename  a  file to one that already  exists  in  the  current 
  1520.         directory.   In this example, the old file, OLD-FILE.NAM has been 
  1521.         attempted  to  be renamed to the new file NEW-FILE.NAM when  NEW-
  1522.         FILE.NAM is already a file in the directory.
  1523.  
  1524.  
  1525.  
  1526.         Master Key -- Disk Management Utility, version 1.5        Page 22
  1527.  
  1528.  
  1529.  
  1530.                          File "OLD-FILE.NAM" cannot be
  1531.                          renamed to "NEW-FILE.NAM"; the
  1532.                          new file name already exists.
  1533.  
  1534.              The  error message below shows up when you try to  rename  a 
  1535.         file  to  something ambiguous.   The characters '?' and  '*'  are 
  1536.         allowed from DOS, but unfortunately not from within Master Key.
  1537.  
  1538.                          File "OLD-FILE.NAM" cannot be
  1539.                          renamed to "NEW-FIL?.*  "; '*'
  1540.                              and '?' aren't allowed.
  1541.  
  1542.              The last two messages are seen only while using the  UNERASE 
  1543.         function.   They  appear only when a file cannot be unerased  for 
  1544.         one reason or another.    The first message,  below, appears when 
  1545.         the  first part of a file's data has been overwritten.   In  this 
  1546.         case,  it  is  almost  impossible to easily recover  all  of  the 
  1547.         remaining data, so it won't be attempted.
  1548.  
  1549.                           File "OLD-FILE.NAM" cannot be
  1550.                           unerased.  It's first cluster
  1551.                          is being used by another file.
  1552.  
  1553.              The  next,  and last message appears after unerasing a  file 
  1554.         was attempted.   The message indicates that there weren't  enough 
  1555.         free  clusters  on the disk to restore the file to  its  original 
  1556.         size.   When  this happens,  Master Key will not save any of  the 
  1557.         restored clusters.
  1558.  
  1559.                          File "'OLD-FILE.NAM" cannot be
  1560.                            unerased.  It's allocation
  1561.                             chain cannot be restored.
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.         Master Key -- Disk Management Utility, version 1.5        Page 23
  1588.  
  1589.  
  1590.  
  1591.                                    Appendix B
  1592.  
  1593.                                   Program Notes
  1594.  
  1595.  
  1596.              Since Master Key was conceived less than a year ago,  it has 
  1597.         gone through an almost complete circle of evolution.  It has been 
  1598.         rewritten  almost  entirely  several times to bring  it  to  this 
  1599.         point,  starting  as a simple routine to draw a box on the screen 
  1600.         and  mushrooming  into what you can see and  run  now.   The  box 
  1601.         drawing routine is no longer present in the code,  but it was the 
  1602.         reason why the program got started.  
  1603.  
  1604.              As the model for Master Key,  I used various commercial  and 
  1605.         public domain utilities of the same type.   I picked out the best 
  1606.         or  most  useful  features from all of the programs  I  used  and 
  1607.         improved  upon  them  wherever I saw possible.   I hope  that  my 
  1608.         decisions on what is needed are similar to yours.
  1609.  
  1610.              Master Key was written entirely in TURBO pascal,  aided with 
  1611.         a few inline sections of code.  The source code for Master Key is 
  1612.         available for $50, for anyone who wants to see or modify it.  The 
  1613.         source  code,  unlike  the  Master Key  program,  is  not  freely 
  1614.         distributed.
  1615.  
  1616.              Prior to version 1.5,  Master Key was called Disk Tool.  The 
  1617.         name change was done to avoid possible conflict with the name  of 
  1618.         a similar, commercial product.
  1619.  
  1620.              Your  comments,   suggestions,   friendly  criticisms,   bug 
  1621.         reports,  and improvement ideas are welcome.   Please contact  me 
  1622.         ONLY at the address listed below.  
  1623.  
  1624.                                R. P. Gage
  1625.                                1125 6th St. N. #43
  1626.                                Columbus, MS  39701
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.         Master Key -- Disk Management Utility, version 1.5        Page 24
  1649.  
  1650.  
  1651.  
  1652.                                    Appendix C
  1653.  
  1654.                                     WARNING !
  1655.  
  1656.  
  1657.              BEFORE  doing any work with Master Key,  I ask that you  are 
  1658.         conscious  of the power you posses when running it and  are  very 
  1659.         careful.  Master Key is able, purposefully or accidentally, to be 
  1660.         used  to  wipe  out some very important parts of your  disks  and 
  1661.         files.  If you are not well acquainted with the technical details 
  1662.         of different disk formats and the structure of your files, please 
  1663.         do not select the DISK or FILE functions without extreme care.  
  1664.  
  1665.              The  areas  on  the  disk  that  should  be  avoided  unless 
  1666.         absolutely necessary are the boot record (the first sector),  the 
  1667.         FAT (the next few sectors), and any directory, including the root 
  1668.         directory  Making blind changes in any of these areas has a  good 
  1669.         possibility  of  rendering  your disks useless.   If you  find  a 
  1670.         pertinent need to change one of these areas,  it would be a  good 
  1671.         idea  to make a backup copy (with DISKCOPY or something  similar) 
  1672.         or your disk before you begin. 
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.         Master Key -- Disk Management Utility, version 1.5        Page 25
  1710.